<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Encore\Admin\Traits\AdminBuilder;

class Attendance_cycle extends Model
{
    //考勤周期配置模型
	public $timestamps = false;
    //
    protected $fillable = [
        'year','season', 'week', 'start_date','end_date','status'
    ];

    public function student_attendance()
    {
        return $this->hasOne(Student_attendance::class); 
    }
}
